package cn.rdq.iknessplatform.service;

import cn.rdq.api.po.Catelog;
import cn.rdq.api.po.CatelogCollect;
import cn.rdq.api.vo.CatelogCollectedVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CatelogCollectService extends IService<CatelogCollect> {

    CatelogCollect getCollected(CatelogCollectedVo catelogCollectedVo);

    List<Catelog> listInfoByUserId(CatelogCollectedVo catelogCollectedVo);

    boolean collect(CatelogCollectedVo catelogCollectedVo);

    boolean cancelCollect(CatelogCollectedVo catelogCollectedVo);

}
